package tankgame03;

import java.io.Serializable;

/**
 * 一个Node对象表示一个敌人坦克信息
 */
public class Node implements Serializable {
	private int x;
	private int y;
	private int direct;

	public Node(int x, int y, int direct) {
		this.x = x;
		this.y = y;
		this.direct = direct;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getDirect() {
		return direct;
	}

	public void setDirect(int direct) {
		this.direct = direct;
	}
}
